package com.redxiii.spike.api.communication;

import java.io.InputStream;
import java.io.OutputStream;

/**
 * @author Daniel Filgueiras
 * @since 11/01/2012
 */
public interface SecureChannelService extends Runnable {

	void setAuthenticator(SecureChannelAuth auth);
	
	boolean isConnected(int channelId);
	
	InputStream getInputStream(int channelId);
	
	OutputStream getOutputStream(int channelId);
}
